/**
 * Copyright (c) 2016-2019 人人开源 All rights reserved.
 * <p>
 * https://www.renren.io
 * <p>
 * 版权所有，侵权必究！
 */

package com.theme.passport.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 完善表单
 *
 * @author Mark sunlightcs@gmail.com
 */
@Data
@ApiModel(value = "完善用户表单")
public class UserUpdateForm {

    @ApiModelProperty(value = "用户昵称", notes = "", required = true)
    @NotBlank(message = "昵称不能为空")
    private String nickname;

    @ApiModelProperty(value = "用户id", notes = "", required = false)
    private Long userId;

    @ApiModelProperty(value = "手机号", notes = "", required = false)
    private String mobile;

    @ApiModelProperty(value = "邮箱", notes = "", required = false)
    private String email;

    @ApiModelProperty(value = "性别", notes = "性别：1男，2女", required = false)
    private Integer gender;

    @ApiModelProperty(value = "用户地址", notes = "", required = false)
    private String location;

}
